
const MALAYSIA = [
  ['1000', ['槟榔屿', '檳榔嶼', 'Pulau Pinang'], '125'],
  ['1001', ['北海', '北海', 'Butterworth'], '1000'],
  ['1002', ['槟城', '檳城', 'Penang'], '1000'],
  ['1004', ['大山脚', '大山腳', 'Bkt. Mertajam'], '1000'],
  ['1005', ['高渊', '高淵', 'Nibong Tebal'], '1000'],
  ['1256', ['东北', '東北', 'Timur Laut'], '1000'],
  ['1257', ['西南', '西南', 'Barat Daya'], '1000'],
  ['1003', ['玻璃市', '玻璃市', 'Perlis'], '125'],
  ['1006', ['加央', '加央', 'Kangar'], '1003'],
  ['1007', ['丁加奴', '丁加奴', 'Terengganu'], '125'],
  ['1008', ['甘马挽', '甘馬挽', 'Kemaman'], '1007'],
  ['1009', ['瓜拉丁加奴', '瓜拉丁加奴', 'Kuala Terengganu'], '1007'],
  ['1010', ['龙运', '龍運', 'Dungun'], '1007'],
  ['1011', ['马江', '馬江', 'Marang'], '1007'],
  ['1012', ['实兆', '實兆', 'Siteu'], '1007'],
  ['1013', ['乌鲁', '烏魯', 'Ulu Terengganu'], '1007'],
  ['1014', ['勿述', '勿述', 'Besut'], '1007'],
  ['1015', ['吉打', '吉打', 'Kedah'], '125'],
  ['1016', ['巴东得腊', '巴東得臘', 'Padang Terap'], '1015'],
  ['1017', ['笨筒', '笨筒', 'Pendang'], '1015'],
  ['1018', ['浮罗交怡', '浮羅交怡', 'Langkawi'], '1015'],
  ['1019', ['哥打士打', '哥打士打', 'Kota Setar'], '1015'],
  ['1020', ['古邦巴素', '古邦巴素', 'Kubang Pasu'], '1015'],
  ['1021', ['瓜拉姆达', '瓜拉姆達', 'Kuala Muda'], '1015'],
  ['1022', ['华玲', '華玲', 'Baling'], '1015'],
  ['1023', ['居林', '居林', 'Kulim'], '1015'],
  ['1024', ['万拉峇鲁', '萬拉峇魯', 'Bandar Baharu'], '1015'],
  ['1243', ['铅埠', '鉛埠', 'Yan'], '1015'],
  ['1244', ['波各先那', '波各先那', 'Pokok Sena'], '1015'],
  ['1245', ['锡', '錫', 'Sik'], '1015'],
  ['1025', ['吉兰丹', '吉蘭丹', 'Kelantan'], '125'],
  ['1026', ['巴西富地', '巴西富地', 'Pasir Putih'], '1025'],
  ['1027', ['巴西马', '巴西馬', 'Pasir Mas'], '1025'],
  ['1028', ['丹那美拉', '丹那美拉', 'Tanah Merah'], '1025'],
  ['1029', ['道北', '道北', 'Tumpat'], '1025'],
  ['1030', ['登卓', '登卓', 'Bachok'], '1025'],
  ['1031', ['哥打巴鲁', '哥打巴魯', 'Kota Baharu'], '1025'],
  ['1032', ['瓜拉吉赖', '瓜拉吉賴', 'Kuala Krai'], '1025'],
  ['1033', ['话望生', '話望生', 'Gua Musang'], '1025'],
  ['1034', ['马樟', '馬樟', 'Machang'], '1025'],
  ['1035', ['日里', '日裏', 'Jeli'], '1025'],
  ['1246', ['哥登峇鲁', '哥登峇魯', 'Kota Bharu'], '1025'],
  ['1036', ['吉隆坡', '吉隆坡', 'Kuala Lumpur'], '125'],
  ['1037', ['吉隆坡', '吉隆坡', 'Kuala Lumpur'], '1036'],
  ['1038', ['马六甲', '馬六甲', 'Melaka'], '125'],
  ['1039', ['马六甲市', '馬六甲市', 'Melaka'], '1038'],
  ['1040', ['亚罗牙也', '亞羅牙也', 'Alor Gajah'], '1038'],
  ['1041', ['野新', '野新', 'Jasin'], '1038'],
  ['1042', ['纳闽', '納閩', 'Labuan'], '125'],
  ['1043', ['纳闽', '納閩', 'Labuan'], '1042'],
  ['1044', ['维多利亚', '維多利亞', 'Victoria'], '1042'],
  ['1045', ['彭亨', '彭亨', 'Pahang'], '125'],
  ['1046', ['百乐', '百樂', 'Bera'], '1045'],
  ['1047', ['北根', '北根', 'Pekan'], '1045'],
  ['1048', ['淡马鲁', '淡馬魯', 'Temerloh'], '1045'],
  ['1049', ['而连突', '而連突', 'Jerantut'], '1045'],
  ['1050', ['关丹', '關丹', 'Kuantan'], '1045'],
  ['1051', ['金马仑高原', '金馬侖高原', 'Cameron Highlands'], '1045'],
  ['1052', ['劳勿', '勞勿', 'Raub'], '1045'],
  ['1053', ['立卑', '立卑', 'Lipis'], '1045'],
  ['1054', ['马兰', '馬蘭', 'Maran'], '1045'],
  ['1055', ['文冬', '文冬', 'Bentong'], '1045'],
  ['1056', ['云冰', '雲冰', 'Rompin'], '1045'],
  ['1057', ['霹雳', '霹靂', 'Perak'], '125'],
  ['1058', ['安顺', '安順', 'Telok Anson'], '1057'],
  ['1059', ['丹绒马林', '丹絨馬林', 'Tanjung Malim'], '1057'],
  ['1060', ['和丰', '和豐', 'Sungai Siput'], '1057'],
  ['1061', ['紅土坎', '紅土坎', 'Lumut'], '1057'],
  ['1062', ['华都牙也', '華都牙也', 'Batu Gajah'], '1057'],
  ['1063', ['江沙', '江沙', 'Kuala Kangsar'], '1057'],
  ['1064', ['太平', '太平', 'Taiping'], '1057'],
  ['1065', ['怡保', '怡保', 'Ipoh'], '1057'],
  ['1247', ['金宝', '金寶', 'Kampar'], '1057'],
  ['1248', ['马登峇当', '馬登峇當', 'Batang Padang'], '1057'],
  ['1249', ['近打', '近打', 'Kinta'], '1057'],
  ['1250', ['中霹雳', '中霹靂', 'Perak Tengah'], '1057'],
  ['1251', ['曼戎', '曼戎', 'Manjung'], '1057'],
  ['1252', ['拉律-马当', '拉律-馬當', 'Larut & Matang'], '1057'],
  ['1253', ['上霹雳', '上霹靂', 'Ulu Perak'], '1057'],
  ['1254', ['吉辇', '吉輦', 'Kerian'], '1057'],
  ['1255', ['下霹雳', '下霹靂', 'Hilir Perak'], '1057'],
  ['1066', ['柔佛', '柔佛', 'Johor'], '125'],
  ['1067', ['笨珍', '笨珍', 'Pontian'], '1066'],
  ['1068', ['丰盛港', '豐盛港', 'Mersing'], '1066'],
  ['1069', ['哥打丁宜', '哥打丁宜', 'Kota Tinggi'], '1066'],
  ['1070', ['居銮', '居鑾', 'Keluang'], '1066'],
  ['1071', ['峇株巴辖', '峇株巴轄', 'Batu Pahat'], '1066'],
  ['1072', ['麻坡', '麻坡', 'Muar'], '1066'],
  ['1073', ['昔加末', '昔加末', 'Segamat'], '1066'],
  ['1074', ['新山', '新山', 'Johor Baharu'], '1066'],
  ['1241', ['礼让', '禮讓', 'Ledang'], '1066'],
  ['1242', ['古来再也', '古來再也', 'Kulaijaya'], '1066'],
  ['1075', ['森美兰', '森美蘭', 'Sembilan'], '125'],
  ['1076', ['波德申', '波德申', 'Port Dickson'], '1075'],
  ['1077', ['淡边', '淡邊', 'Tampin'], '1075'],
  ['1078', ['芙蓉', '芙蓉', 'Seremban'], '1075'],
  ['1079', ['瓜拉庇劳', '瓜拉庇勞', 'Kuala Pilah'], '1075'],
  ['1080', ['林茂', '林茂', 'Rembau'], '1075'],
  ['1081', ['仁保', '仁保', 'Jempol'], '1075'],
  ['1082', ['日叻务', '日叻務', 'Jelebu'], '1075'],
  ['1083', ['沙巴', '沙巴', 'Sabah'], '125'],
  ['1084', ['吧巴', '吧巴', 'Papar'], '1083'],
  ['1085', ['保佛', '保佛', 'Beaufort'], '1083'],
  ['1086', ['比鲁兰', '比魯蘭', 'Beluran'], '1083'],
  ['1087', ['必达士', '必達士', 'Pitas'], '1083'],
  ['1088', ['兵南邦', '兵南邦', 'Penampang'], '1083'],
  ['1089', ['担布南', '擔布南', 'Tambunan'], '1083'],
  ['1090', ['丹南', '丹南', 'Tenom'], '1083'],
  ['1091', ['斗湖', '鬥湖', 'Tawau'], '1083'],
  ['1092', ['斗亚兰', '鬥亞蘭', 'Tuaran'], '1083'],
  ['1093', ['哥打基纳巴鲁', '哥打基納巴魯', 'Kota Kinabalu'], '1083'],
  ['1094', ['哥打马鲁都', '哥打馬魯都', 'Kota Marudu'], '1083'],
  ['1095', ['根地咬', '根地咬', 'Keningau'], '1083'],
  ['1096', ['古达', '古達', 'Kudat'], '1083'],
  ['1097', ['古打毛律', '古打毛律', 'Kota Belud'], '1083'],
  ['1098', ['古纳', '古納', 'Kunak'], '1083'],
  ['1099', ['瓜拉班尤', '瓜拉班尤', 'Kuala Penyu'], '1083'],
  ['1100', ['京那巴登岸', '京那巴登岸', 'Kinabatangan'], '1083'],
  ['1101', ['兰脑', '蘭腦', 'Ranau'], '1083'],
  ['1102', ['拿笃', '拿篤', 'Lahad Datu'], '1083'],
  ['1103', ['纳巴湾', '納巴灣', 'Nabawan'], '1083'],
  ['1104', ['山打根', '山打根', 'Sandakan'], '1083'],
  ['1105', ['西比陶', '西比陶', 'Sipitang'], '1083'],
  ['1106', ['仙本那', '仙本那', 'Semporna'], '1083'],
  ['1258', ['必打丹', '必打丹', 'Putatan'], '1083'],
  ['1259', ['丹革', '丹革', 'Tongod'], '1083'],
  ['1107', ['沙捞越', '沙撈越', 'Sarawak'], '125'],
  ['1108', ['古晋', '古晉', 'Kuching'], '1107'],
  ['1109', ['加帛', '加帛', 'Kapit'], '1107'],
  ['1110', ['林梦', '林夢', 'Limbang'], '1107'],
  ['1111', ['美里', '美裏', 'Miri'], '1107'],
  ['1112', ['民都鲁', '民都魯', 'Bintulu'], '1107'],
  ['1113', ['木胶', '木膠', 'Mukah'], '1107'],
  ['1114', ['木中', '木中', 'Betong'], '1107'],
  ['1115', ['三马拉汉', '三馬拉漢', 'Samarahan'], '1107'],
  ['1116', ['斯里阿曼', '斯裏阿曼', 'Sri Aman'], '1107'],
  ['1117', ['泗里街', '泗裏街', 'Sarikei'], '1107'],
  ['1118', ['泗务', '泗務', 'Sibu'], '1107'],
  ['1220', ['达拉', '達拉', 'Dalat'], '1107'],
  ['1221', ['马都', '馬都', 'Matu'], '1107'],
  ['1222', ['桑坡', '桑坡', 'Song'], '1107'],
  ['1223', ['如楼', '如樓', 'Julau'], '1107'],
  ['1224', ['达岛', '達島', 'Tatau'], '1107'],
  ['1225', ['实兰沟', '實蘭溝', 'Selangau'], '1107'],
  ['1226', ['马鲁迪', '馬魯迪', 'Marudi'], '1107'],
  ['1227', ['伦乐', '倫樂', 'Lundu'], '1107'],
  ['1228', ['老越', '老越', 'Lawas'], '1107'],
  ['1229', ['西连', '西連', 'Serian'], '1107'],
  ['1230', ['阿沙再也', '阿沙再也', 'Asajaya'], '1107'],
  ['1231', ['马拉东', '馬拉東', 'Meradong'], '1107'],
  ['1232', ['砂拉卓', '砂拉卓', 'Saratok'], '1107'],
  ['1233', ['实文然', '實文然', 'Simunjan'], '1107'],
  ['1234', ['布拉加', '布拉加', 'Belaga'], '1107'],
  ['1235', ['巴干', '巴幹', 'Pakan'], '1107'],
  ['1236', ['拉老', '拉老', 'Daro'], '1107'],
  ['1237', ['鲁勃安都', '魯勃安都', 'Lubok Antu'], '1107'],
  ['1238', ['加拿逸', '加拿逸', 'Kanowit'], '1107'],
  ['1239', ['石隆门', '石隆門', 'Bau'], '1107'],
  ['1119', ['雪兰莪', '雪蘭莪', 'Selangor'], '125'],
  ['1120', ['八打灵', '八打靈', 'Petaling'], '1119'],
  ['1121', ['鹅麦', '鵝麥', 'Gombak'], '1119'],
  ['1122', ['瓜拉冷岳', '瓜拉冷嶽', 'Kuala Langat'], '1119'],
  ['1123', ['瓜拉雪兰莪', '瓜拉雪蘭莪', 'Kuala Selangor'], '1119'],
  ['1124', ['沙白安南', '沙白安南', 'Sabak Bernam'], '1119'],
  ['1125', ['乌鲁冷岳', '烏魯冷嶽', 'Ulu Langat'], '1119'],
  ['1126', ['乌鲁雪兰莪', '烏魯雪蘭莪', 'Ulu Selangor'], '1119'],
  ['1127', ['雪邦', '雪邦', 'Sepang'], '1119'],
  ['1240', ['巴生', '巴生', 'Klang'], '1119']
];

function toTreeData(data) {
  return data.map(item => ({
    id: item[0],
    title: item[1][0],
    traditionalTitle: item[1][1],
    pinyinTitle: item[1][2],
    parentId: item[2]
  }));
}

export default function () {
  return toTreeData(MALAYSIA);
}
